<?
ob_start();
session_start();
if(!isset($_SESSION["admin_key"])) {
		header("location:index.php");
	}
	include("../conf/config.php");
	include("../conf/database.php");
	include("../conf/tools.php");
?>
<html>
<head>
<title>Brahma Kumaris IT &amp; Communications</title>
<link href="includes/css/admin_style.css" rel="stylesheet" type="text/css"  />
</head>
<body>
<?php

$mode=$_GET["mode"];
$memberId=$_GET["mid"];
if($mode=="edit")
{
	$memberInfo=qry_data("select *, DATE_FORMAT(dob,'%d-%m-%Y') as dob1,DATE_FORMAT(aloukik_dob,'%d-%m-%Y') as aloukik_dob1 from bkitc_profiles where registrant_id=".$memberId);
	$member=$memberInfo[0];
	$member["sig"]=getMemberSIG($memberId);

}
else
{
	$member["reg_type"]="2";
}

?>

<style>


.label_header3{

font-weight:bold;
font-size:14px;

}
.label_header2{

font-weight:bold;
font-size:13px;

}
.label_header1{

font-weight:bold;
font-size:20px;

}

.form_info {

margin-left:20px;


}

.form_footer div{
margin-top:15px;
font-weight:bold;


}
.form_info .value{
font-weight:normal;
float:none;


}


.flabel{



}

.form_footer{
margin-top:25px;
margin-left:20px;
}

.form_info div{
font-size:12px;
margin-top:25px;
font-weight:bold;
}
.form_info span{
font-weight:bold;
padding-right:5px;

}
</style>
<table style="background:#fff" align="center" width="100%">
<tr>
<td>

<div>
<center>
<div class="label_header1">B r a h m a   K u m a r i s  </div>
<div  class="label_header2">Shantivan, Abu Road - Rajasthan</div>
<div  class="label_header2"> E-mail: itncomm@gmail.com</div>
<hr size="1"/>
<div  class="label_header3">BK's Membership  Registration  Form</div>
<div  style="float:right"><small onclick="window.print()" style="cursor:pointer;"><u>Print</u></small></div>
</center>
</div>
<div class="form_info">
<div><span>1.</span><span class="flabel">Name in Full : </span><span class="value"> <?=$member["full_name"]?></span> <span class="flabel">Member ID : <span class="value"> BKITC<?=number_pad($member["registrant_id"],5)?> </span> <span class="flabel">Registered Date : <span class="value"><?=substr($member["submission_date"],0,2)=="00"?"":$member["submission_date"]?> </span> </span></div>
<div><span>2.</span><span class="flabel" >Date of Birth   (dd-mm-yyy) :  </span>  <span class="value"> <?=$member["dob1"]?></span>   </div>      
<div><span>3.</span><span class="flabel">Gender :  </span><span class="value"> <?=$member["gender"]==1?"Male":"Female"?></span></div>
<div><span>4.</span><span class="flabel">Mailing /Contact address with District, State & Pin Code :</span>

<span class="value">
<br>
<?=$member["contact_address"]?><br/>
<?=$member["reg_city"]?><br/>
<?=$member["reg_state"]?><br/>
<?=$member["reg_zip"]?><br/>
<?=$member["reg_country"]?><br/>
</span>

</div>
<div><span>5.</span><span class="flabel">Highest Education Qualifications :</span>

<span class="value">
<br/>
<?=$member["edu_qual"]?><br/>
</span>
</div>
<div><span>6.</span><span class="flabel">Technical/Computer Specialization :</span>

<span class="value">
<br/>
<?=$member["technical_specifications"]?><br/>
</span>
</div>
<div><span>7.</span><span class="flabel">Working with Organization's Name and Address :</span>
<span class="value">
<br/>
<?=$member["company_address"]?><br/>
</span>

</div>
<div><span>8.</span><span class="flabel">Are you member of any related Professional body? (Y/ N).        : <span class="value"> <?=$member["are_you_prof"]==1?"Y":"N"?></span>
 <br>
     If Yes, Please mention Name and Address:</span>

<span class="value">
<br/>
<?=$member["professional_bodies"]?><br/>
</span>

</div>
<div><span>9.</span><span class="flabel">Your Aloukik Date of Birth  (dd-mm-yyy) :  <?=substr($member["aloukik_dob1"],0,2)=="00"?"":$member["aloukik_dob1"]?></span></div>
<div><span>10.</span><span class="flabel">Your BK Centre's Full Address, District, State with Pin Code  : </span>
<span class="value">
<br/>
<?=$member["bk_center_address"]?><br/>
Ph : <?=$member["bk_center_phone"]?><br/>
<?=$member["bk_center_email"]?><br/>

</span>


</div>
<div><span>11.</span><span class="flabel">Any other information which you want to share : </span>
<span class="value">
<br/>
<?=$member["other_info"]?><br/>


</span>

</div>
</div>
<div class="form_footer">
<div style="float:left">Signature of BK Centre Incharge : </div>
<div style="float:right;margin-right:190px;">Signature of Applicant : </div>

     <div style="clear:both"></div>                                                                       
    
<div style="float:left;"> Sister's Name : BK______________________  </div>
<div style="float:right"> Place & Date : __________________________________  </div>                                                
</div>

<td>
</tr>
</table>
<body>
</html>





